package breakoutTest;
import java.awt.geom.Ellipse2D;

public class Ball extends Ellipse2D.Double{
	public boolean onFire = false;
	public int vx = 0;
	public int vy = 0;
	
	public Ball(double x, double y, int w, int h){
		super(x, y, w, h);
	}
	public Ball(){
		super();
	}
	public void move(){
		this.x+=vx;
		this.y+=vy;
	}
	
	public boolean out(){
		return (this.x <= 0);
	}
	
	
}
